<!-- 菜单页面-引入到 src/views/HomeView.vue-->
<template>
  <el-row class="tac">
    <el-col :span="24">
        <SubMenu :routers=routes />
    </el-col>

  </el-row>
</template>

<script>
import { routes } from '@/router';
import SubMenu from './SubMenu.vue';

export default {
  props:{

  },
  components: {
    SubMenu
  },
  data: function () {
    return {
      routes: routes
    };
  }
}
</script>
